package thread;

public class ThreadDemo19 {
    public static void main(String[] args) {
        Thread thread=new Thread(){
            @Override
            public void run() {
                System.out.println("匿名内部类创建");
            }
        };
        thread.start();
        System.out.println("主线程");
    }
}
